import { history } from "umi";
import CustomResult from "@/components/customResult";
import submission from "@/assets/image/Property 1=submission.png";
import { CustomTitle } from "@/components/customTitle";
import { PaddingContent } from "@/components/page-padding";
const IdentitySuccess = () => {
  const onClick = () => {
    history.push("/");
  };
  return (
    <PaddingContent>
      <CustomTitle>
        Identity Verification & License Plate Number Registration
      </CustomTitle>
      <CustomResult
        icon={submission}
        resultTitle={"Pending Approval"}
        resultSubTitle={"Your application has been submitted successfully."}
        btnText={"Back to Home"}
        onClick={onClick}
      />
    </PaddingContent>
    // <div className="identity">
    //     <div className="title">
    //         Identity Verification & License Plate Number Registration
    //     </div>

    //     <div className='identity-content'>
    //         <div className='top-img'>
    //         </div>

    //         <div className='top-text'>
    //             Pending Approval
    //         </div>
    //         <div className='middle-text'>
    //             Your application has been submitted successfully.
    //         </div>
    //         <div className='button-group'>
    //             <Button onClick={toHome} type="default" size={'middle'}>
    //                 Back to Home
    //             </Button>
    //         </div>
    //     </div>

    // </div>
  );
};

export default IdentitySuccess;
